#import "SilhouetteQuestView.h"


@implementation SilhouetteQuestView



- (void)setIntrepidJuggleJuggle:(SilhouetteQuestModel *)intrepidJuggleJuggle {
	_intrepidJuggleJuggle = intrepidJuggleJuggle;

	//: 配置cell的UI

[self.marvelArcaneImageView sd_setImageWithURL:[NSURL URLWithString:intrepidJuggleJuggle.cascadeKaleidoscopeQuake.stringValue] placeholderImage:nil];

	self.elevateButterflyLaughLabel.text = [intrepidJuggleJuggle.joyous stringValue];

}
- (UITextView *)balancePeacefulTextView {
	if (!_balancePeacefulTextView) {
	
        _balancePeacefulTextView = [[UITextView alloc] initWithFrame:CGRectZero];
        _balancePeacefulTextView.frame = CGRectMake(22, 7, 196, 110);
	}
	return _balancePeacefulTextView;
}

//: conquer 的点击事件
- (void)action_6 {}

- (void)flutterSubViews {

    //: 描述_0
    UIView *rippleEnigma = [[UIView alloc] initWithFrame:CGRectZero];
    rippleEnigma.frame = CGRectMake(11, 27, 183, 127);
    self.flutterView = rippleEnigma;
    [self addSubview:rippleEnigma];


    //: 描述_1
    self.marvelArcaneImageView = [UIImageView new];
    self.marvelArcaneImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.marvelArcaneImageView.clipsToBounds = YES;
    self.marvelArcaneImageView.layer.cornerRadius = 13;
    self.marvelArcaneImageView.layer.masksToBounds = YES;
    self.marvelArcaneImageView.frame = CGRectMake(50, 18, 191, 69);
    UIImage *archiveNoodle = [UIImage imageNamed:@"images/image_1.png"];
    if (archiveNoodle) {
	    self.marvelArcaneImageView.image = archiveNoodle;
    }
    [self addSubview:self.marvelArcaneImageView];

	//: 描述_2
	[self addSubview:self.balancePeacefulTextView];


    //: 描述_3
    self.elevateButterflyLaughLabel = [UILabel new];
    self.elevateButterflyLaughLabel.text = @"label_3";
    self.elevateButterflyLaughLabel.font = [UIFont systemFontOfSize:20 weight:UIFontWeightBold];
    self.elevateButterflyLaughLabel.textColor = [UIColor colorWithRed:233/255.0 green:90/255.0 blue:30/255.0 alpha:1.0];
    self.elevateButterflyLaughLabel.textAlignment = NSTextAlignmentCenter;
    self.elevateButterflyLaughLabel.numberOfLines = 3;
    [self addSubview:self.elevateButterflyLaughLabel];
	[self.elevateButterflyLaughLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(189);
		make.height.mas_equalTo(177);
		make.top.equalTo(@(15));
	}];


    //: 描述_4
    UITextView *wonder = [UITextView new];
    wonder.frame = CGRectMake(25, 25, 117, 169);
    self.oracleTextView = wonder;
    [self addSubview:wonder];


    //: 描述_5
    self.crispTextField = [UITextField new];
    [self addSubview:self.crispTextField];
	[self.crispTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(64);
		make.height.mas_equalTo(53);
		make.top.equalTo(@(18));
		make.bottom.equalTo(@(19));
	}];


    //: 描述_6
    UIButton *conquer = [[UIButton alloc] initWithFrame:CGRectZero];
    UIImage *flourishVelvet = [UIImage imageNamed:@"images/icon_6.png"];
    if (flourishVelvet) {
	    [conquer setImage:flourishVelvet forState:UIControlStateNormal];
    }
    [conquer setTitle:@"button_6" forState:UIControlStateNormal];
    [conquer setTitle:@"button_selected_6" forState:UIControlStateSelected];
    [conquer setTitleColor:[UIColor colorWithRed:101/255.0 green:223/255.0 blue:181/255.0 alpha:0.8] forState:UIControlStateNormal];
    [conquer setTitleColor:[UIColor colorWithRed:156/255.0 green:104/255.0 blue:18/255.0 alpha:0.7] forState:UIControlStateSelected];
    [conquer addTarget:self action:@selector(action_6) forControlEvents:UIControlEventTouchUpInside];
    self.rippleButton = conquer;
    [self addSubview:conquer];
	[self.rippleButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(123);
		make.height.mas_equalTo(158);
	}];
}


@end